package com.altekis.kanbankaze.shared.events;

import com.google.gwt.event.shared.GwtEvent;

public class RPCStartedEvent extends GwtEvent<RPCStartedEventHandler>{
	public static Type<RPCStartedEventHandler> TYPE = new Type<RPCStartedEventHandler>();
	public String message = "Working hard";

	public RPCStartedEvent(String message) {
		this.message = message;
	}

	@Override
	public Type<RPCStartedEventHandler> getAssociatedType() {
	    return TYPE;
	}

	@Override
	protected void dispatch(RPCStartedEventHandler handler) {
		handler.onRPCStarted(this);
	}
}
